*Master
*This executes all do files in order;

*****************************************************************;
*Clean data;
*****************************************************************;

*Read in and clean CFO data;
do "0 Clean Raw CFO Data.do"

*Read in and clean CHED data;
do "0 Clean Raw CHED Data.do"
do "0 Create enrollment and grad time series.do"
do "Create Nurse Program Counts.do"

*Create Baseline Controls;
do "0 Create Baseline Controls.do"

forvalues x=1990(10)2010 {
	do "0 nursecounts `x'cen.do"
}

do "1 nursecounts combine.do"

*Create population counts;
do "0 Create Population Counts.do"

*Read in and Clean Nursing Licensure Data;
do "0 Clean Licensure Data.do"
do "1 Create Pass Rates.do"

*Combine all data for analysis sample;
do "2 create data set.do"

*****************************************************************;
*Run analysis;
*****************************************************************;

*Run analysis
do "3 main analysis.do"

*Create appendix tables

do "4 appendix analysis.do"

do "4 appendix table 3.do"

do "4 appendix figure 2.do"

do "4 appendix figure 3.do"

do "4 appendix figures 5 and 6.do"

do "4 appendix figure 8.do"
